import csv
import numpy

# read in defined input measurement
def getValue(measurement_list, device_id, property):
    for item in measurement_list:
        if item['device_id'] == device_id and item['property'] == property:
            return item['value']